Class to calculate the direction cosine distance
Function to calculate the Manhattan distance between vectors A real variable with the distance
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| class(direction_cosine_distance) | :: | distance |
A |
|||
| real(kind=wp), | intent(inout), | dimension(:,:) | :: | vector1 |
A real vector |
|
| real(kind=wp), | intent(inout), | dimension(:,:) | :: | vector2 |
A real vector |
A real vector
type,extends(distance_base) :: direction_cosine_distance !! Class to calculate the direction cosine distance contains procedure,public :: calculate => calculate_direction_cosine_distance end type direction_cosine_distance